# include <stdio.h>

int main(int argc, const char *argv[]) {
    int i,j,limit, tmp;
    int a[6] = {10,30,11,69,23,5};
    int total  = 5;
    for(i = 0; i < 6; i++) {
        limit = total - i;
        for(j = 0; j < limit; j++) {
            if(a[j] > a[j+1]) {
                tmp = a[j+1];
                a[j+1] = a[j];
                a[j] = tmp;
            }
        }
    }
    for(i = 0; i < 6; i++ ) {
        printf("%d\n", a[i]);
    }
    return 0;
}

